package chixing.day12.class1;

public class ExceptionDemo {
    public static void main(String[] args) {
     int[] arr = {1,2,3,4,5};
     System.out.println(arr[2]);

     // int x=10/0;
        String s1=null;
        s1.length(); //NullPointerExcept  空指针异常
    }
}
